package com.young.bs.vote.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
* 投票结果实体类
* Created by admin on 2019-3-19.
*/
public class VoteResult{

    @ExcelColumn(value = "主键", order = 1)
    private String id;//主键
    @ExcelColumn(value = "投票信息", order = 2)
    private String voteId;//投票信息
    private String voteTitle;//投票信息
    @ExcelColumn(value = "投票结果", order = 3)
    private String voteOptionId;//投票结果
    private String voteOptionContent;//投票结果
    @ExcelColumn(value = "投票者", order = 4)
    private String voterId;//投票者
    @ExcelColumn(value = "投票时间", order = 5)
    private Date voteTime;//投票时间
    @ExcelColumn(value = "比特承诺数", order = 6)
    private String bitPromise;//比特承诺数
    @ExcelColumn(value = "比特承诺结果", order = 7)
    private String bitValue;//比特承诺结果
    @ExcelColumn(value = "投票者公钥", order = 8)
    private String voterPublicKey;//投票者公钥
    @ExcelColumn(value = "投票者私钥", order = 9)
    private String voterPrivateKey;//投票者私钥
    @ExcelColumn(value = "盲化结果", order = 10)
    private String blindValue;//盲化结果
    @ExcelColumn(value = "管理员公钥", order = 11)
    private String adminPublicKey;//管理员公钥
    @ExcelColumn(value = "管理员私钥", order = 12)
    private String adminPrivateKey;//管理员私钥
    @ExcelColumn(value = "管理员签名结果", order = 13)
    private String adminSignValue;//管理员签名结果
    @ExcelColumn(value = "管理员签名时间", order = 14)
    private Date adminSignTime;//管理员签名时间
    @ExcelColumn(value = "计票中心结果值(等于盲化结果)", order = 15)
    private String countCenterValue;//计票中心结果值(等于盲化结果)
    @ExcelColumn(value = "计票中心计票时间", order = 16)
    private Date countCenterTime;//计票中心计票时间
    @ExcelColumn(value = "状态,1:发起投票|2:管理员签名|3:计票中心计票", order = 17)
    private Integer state;//状态,1:发起投票|2:管理员签名|3:计票中心计票

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    @Override
    public String toString() {
        return "VoteResult{" +
                "id='" + id + '\'' +
                ", voteId='" + voteId + '\'' +
                ", voteTitle='" + voteTitle + '\'' +
                ", voteOptionId='" + voteOptionId + '\'' +
                ", voteOptionContent='" + voteOptionContent + '\'' +
                ", voterId='" + voterId + '\'' +
                ", voteTime=" + voteTime +
                ", bitPromise='" + bitPromise + '\'' +
                ", bitValue='" + bitValue + '\'' +
                ", voterPublicKey='" + voterPublicKey + '\'' +
                ", voterPrivateKey='" + voterPrivateKey + '\'' +
                ", blindValue='" + blindValue + '\'' +
                ", adminPublicKey='" + adminPublicKey + '\'' +
                ", adminPrivateKey='" + adminPrivateKey + '\'' +
                ", adminSignValue='" + adminSignValue + '\'' +
                ", adminSignTime=" + adminSignTime +
                ", countCenterValue='" + countCenterValue + '\'' +
                ", countCenterTime=" + countCenterTime +
                ", state=" + state +
                ", orderBy='" + orderBy + '\'' +
                ", orderType='" + orderType + '\'' +
                '}';
    }

    public VoteResult(){
        super();
    }

    public String getVoteTitle() {
        return voteTitle;
    }

    public void setVoteTitle(String voteTitle) {
        this.voteTitle = voteTitle;
    }

    public String getVoteOptionContent() {
        return voteOptionContent;
    }

    public void setVoteOptionContent(String voteOptionContent) {
        this.voteOptionContent = voteOptionContent;
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getVoteId() {
    return voteId;
    }
    public void setVoteId(String voteId) {
    this.voteId = voteId;
    }
    public String getVoteOptionId() {
    return voteOptionId;
    }
    public void setVoteOptionId(String voteOptionId) {
    this.voteOptionId = voteOptionId;
    }
    public String getVoterId() {
    return voterId;
    }
    public void setVoterId(String voterId) {
    this.voterId = voterId;
    }
    public Date getVoteTime() {
    return voteTime;
    }
    public void setVoteTime(Date voteTime) {
    this.voteTime = voteTime;
    }
    public String getBitPromise() {
    return bitPromise;
    }
    public void setBitPromise(String bitPromise) {
    this.bitPromise = bitPromise;
    }
    public String getBitValue() {
    return bitValue;
    }
    public void setBitValue(String bitValue) {
    this.bitValue = bitValue;
    }
    public String getVoterPublicKey() {
    return voterPublicKey;
    }
    public void setVoterPublicKey(String voterPublicKey) {
    this.voterPublicKey = voterPublicKey;
    }
    public String getVoterPrivateKey() {
    return voterPrivateKey;
    }
    public void setVoterPrivateKey(String voterPrivateKey) {
    this.voterPrivateKey = voterPrivateKey;
    }
    public String getBlindValue() {
    return blindValue;
    }
    public void setBlindValue(String blindValue) {
    this.blindValue = blindValue;
    }
    public String getAdminPublicKey() {
    return adminPublicKey;
    }
    public void setAdminPublicKey(String adminPublicKey) {
    this.adminPublicKey = adminPublicKey;
    }
    public String getAdminPrivateKey() {
    return adminPrivateKey;
    }
    public void setAdminPrivateKey(String adminPrivateKey) {
    this.adminPrivateKey = adminPrivateKey;
    }
    public String getAdminSignValue() {
    return adminSignValue;
    }
    public void setAdminSignValue(String adminSignValue) {
    this.adminSignValue = adminSignValue;
    }
    public Date getAdminSignTime() {
    return adminSignTime;
    }
    public void setAdminSignTime(Date adminSignTime) {
    this.adminSignTime = adminSignTime;
    }
    public String getCountCenterValue() {
    return countCenterValue;
    }
    public void setCountCenterValue(String countCenterValue) {
    this.countCenterValue = countCenterValue;
    }
    public Date getCountCenterTime() {
    return countCenterTime;
    }
    public void setCountCenterTime(Date countCenterTime) {
    this.countCenterTime = countCenterTime;
    }
    public Integer getState() {
    return state;
    }
    public void setState(Integer state) {
    this.state = state;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

}